package cn.yeyiu.netonlinevideo.bean;

import java.util.List;

import cn.yeyiu.util.bean.MediaData;

public class InfoData {
    // 平台
    public String code;
    // 类型
    public String type;
    // 哪一页
    public int index;
    // 最大页
    public int maxIndex;
    // 数据
    public List<MediaData> dataList;

    public InfoData() {}

    public InfoData(String code, String type, int index) {
        this.code = code;
        this.type = type;
        this.index = index;
    }

    public InfoData(String code, String type, int index, List<MediaData> dataList) {
        this.code = code;
        this.type = type;
        this.index = index;
        this.dataList = dataList;
        maxIndex = 0;
    }

    public InfoData(String code, String type, int index, int maxIndex, List<MediaData> dataList) {
        this.code = code;
        this.type = type;
        this.index = index;
        this.maxIndex = maxIndex;
        this.dataList = dataList;
    }
}
